<!------------------------------------------begin-->
<%@ page import="com.tool.KenString" %>
<%@ page import="com.tool.Convert" %>
<%@ page import="com.system.*" %>
<%
    String      LSID_SEQUENCE = Convert.toZeroStr(request.getParameter("LSID_SEQUENCE"));	//\u6D41\u6C34\u53F7ID
    String	LSBM_SEQUENCE = Convert.toGBK(request.getParameter("LSBM_SEQUENCE"));	//\u6D41\u6C34\u53F7\u6240\u5C5E\u7684\u8868
    String      LSZD_SEQUENCE = Convert.toGBK(request.getParameter("LSZD_SEQUENCE"));	//\u6240\u5C5E\u7684\u8868\u5173\u952E\u5B57ID
    String	LSGD_SEQUENCE = Convert.toGBK(request.getParameter("LSGD_SEQUENCE"));	//\u6D41\u6C34\u53F7\u56FA\u5B9A\u90E8\u5206	\u9ED8\u8BA4\u4E3A\u7A7A
    String	LSNH_SEQUENCE = Convert.toGBK(request.getParameter("LSNH_SEQUENCE"));	//\u6D41\u6C34\u53F7\u6240\u7528\u5E74\u53F7	\u53EF\u4EE5\u4FEE\u6539\u4E3A\u5176\u4ED6
    String	LSHM_SEQUENCE = Convert.toGBK(request.getParameter("LSHM_SEQUENCE"));	//\u5F53\u524D\u6D41\u6C34\u53F7\u53F7\u7801
    String	LSSM_SEQUENCE = Convert.toGBK(request.getParameter("LSSM_SEQUENCE"));	//\u8BF4\u660E

    try {
        com.database.DataConn dataConn_SEQUENCE = new com.database.DataConn();
        Sequence sequence_SEQUENCE = new Sequence(dataConn_SEQUENCE);
        boolean flag_SEQUENCE = false;
        //\u4FDD\u5B58\uFF01
        String value_str[] = {
            ""  + LSID_SEQUENCE + "",
            "'" + LSBM_SEQUENCE + "'",
            ""  + LSZD_SEQUENCE + "",
            "'" + LSGD_SEQUENCE + "'",
            "'" + LSNH_SEQUENCE + "'",
            "'" + LSHM_SEQUENCE + "'",
            "'" + LSSM_SEQUENCE + "'"
        };

System.out.println("==" + value_str[0]);
System.out.println("==" + value_str[1]);
System.out.println("==" + value_str[2]);
System.out.println("==" + value_str[3]);
System.out.println("==" + value_str[4]);
System.out.println("==" + value_str[5]);
System.out.println("==" + value_str[5]);


        if (LSID_SEQUENCE.equals("0")) {
            //\u6DFB\u52A0
            flag_SEQUENCE = sequence_SEQUENCE.add(value_str);
        } else {
            flag_SEQUENCE = sequence_SEQUENCE.update(value_str);
        }

        if (!flag) {
          out.println("<Script Language='javaScript'>");
          out.println("alert('\u6587\u53F7\u89C4\u5219\u6CA1\u6709\u4FDD\u5B58\u6210\u529F\uFF0C\u8BF7\u68C0\u67E5\uFF01')");
          out.println("</Script>");
        }
        dataConn_SEQUENCE.close();
    }
    catch(Exception e_SEQUENCE) {
    }
%>
<!------------------------------------------end-->
